/*
package com.shanjupay.apiagent.controller;



import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

*/
/**
 * 直连接口
 *//*

@RestController
@Api(value = "直连接口", tags = "Service", description="直连接口")
public class ServiceController {

    @Autowired
    private ClientDetailsService clientDetailsService;


    @ApiOperation("创建标的")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "serviceName", value = "接口名称", dataType = "String", paramType="query"),
            @ApiImplicitParam(name = "platformNo", value = "接入平台编号", dataType = "String", paramType="query"),
            @ApiImplicitParam(name = "signature", value = "针对请求数据reqData的签名", dataType = "String", paramType="query"),
            @ApiImplicitParam(name = "depositoryRequest", value = "应用查询参数", required = false, dataType = "DepositoryRequestDTO", paramType="body"),
    })
    @PostMapping(value="/service",params = "serviceName=CREATE_PROJECT")
    public DepositoryResponseDTO createProject(@RequestParam String serviceName ,
                                          @RequestParam String platformNo ,
                                          @RequestParam String signature ,
                                          @RequestBody DepositoryRequestDTO depositoryRequest){


        DepositoryResponseDTO res = new DepositoryResponseDTO();
        res.setRequestNo("创建标的:" + depositoryRequest.getRequestNo());
        return res;
    }


    @ApiOperation("创建标的")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "serviceName", value = "接口名称", dataType = "String", paramType="query"),
            @ApiImplicitParam(name = "platformNo", value = "接入平台编号", dataType = "String", paramType="query"),
            @ApiImplicitParam(name = "signature", value = "针对请求数据reqData的签名", dataType = "String", paramType="query"),
            @ApiImplicitParam(name = "depositoryRequest", value = "应用查询参数", required = false, dataType = "DepositoryRequestDTO", paramType="body"),
    })
    @PostMapping(value="/service",params = "serviceName=MODIFY_PROJECT")
    public DepositoryResponseDTO modifyProject(@RequestParam String serviceName ,
                                               @RequestParam String platformNo ,
                                               @RequestParam String signature ,
                                               @RequestBody DepositoryRequestDTO depositoryRequest){


        DepositoryResponseDTO res = new DepositoryResponseDTO();
        res.setRequestNo("修改标的状态:" + depositoryRequest.getRequestNo());
        return res;
    }



    @GetMapping(value="/clients/{clientId}")
    public ClientDetailsDTO getClientDetails(@PathVariable("clientId") String clientId){
        return clientDetailsService.getClientDetails(clientId);
    }


}
*/
